package wifiunion.com.notice.entity;

import android.support.annotation.NonNull;

/**
 * Created by Administrator on 2018/2/5.
 */

public class ConfigueTitle implements Comparable<ConfigueTitle> {


    private int positon;

    private String name;



    public ConfigueTitle(int positon, String name) {
        this.positon = positon;
        this.name = name;
    }

    public int getPositon() {
        return positon;
    }

    public void setPositon(int positon) {
        this.positon = positon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int compareTo(@NonNull ConfigueTitle o) {
        return o.getPositon();
    }
}
